import {GMap} from "@/utils/gaode";

export let gMap, gMapGui

export const createMap = (elmId, conf) => {

    gMap = new GMap(elmId, conf);

    gMap.openGui();
    gMap.complete().then(() => {
        // 加载完成
    })

    return gMap;
}
